<!DOCTYPE html>
<html >
	<head>
		<meta charset="utf-8" />
		<script type="text/javascript" src="../js/angular.js" ></script>
		<title></title>
	</head>

	<body ng-app="app" >
		<div ng-controller="ctrl" >
			<!--<span ng-style="{color:'red',fontSize:30+'px'}" >你好！</span>-->
			<span ng-style="{color:color,fontSize:size+'px'}" >你好！</span>

			<input type="text" ng-model="color">
			<input type="number" ng-model="size">
		</div>
		<script>
			var app=angular.module("app",[]);
			app.controller("ctrl",["$scope",function($scope){

			}]);
			
		</script>
	</body>
</html>
